<div class="jobView">
<h2><?php echo $model->name; ?></h2>

<?php //poster name ?>
<div class="row">
    <div class="rowField">Pembuat</div>
    <div class="rowValue"><?php echo CHtml::link($model->getPoster()->getName(), $model->getPoster()->getLink()); ?></div>
</div>

<?php //reward ?>
<div class="row">
    <div class="rowField"><?php echo CHtml::activeLabel($model, 'reward'); ?></div>
    <div class="rowValue"><?php echo $model->reward; ?></div>
</div>

<?php //waktu ?>
<div class="row">
    <div class="rowField">Waktu Pengerjaan</div>
    <div class="rowValue"><?php echo $model->start_date; ?> - <?php echo $model->end_date; ?></div>
</div>

<?php //status ?>
<div class="row">
    <div class="rowField">Status</div>
    <div class="rowValue"><?php echo ConstantsLookUp::getJobStatus($model->status); ?></div>
</div>

<?php if($model->status == ConstantsLookUp::$JOBSTATUS_WAITING_PUB && $model->isThePosterIsMe()) {
    echo CHtml::link('Edit Posting', $this->createUrl('edit', array('id' => $model->id)));
} ?>

</div>